package com.ttmusic.utils.baidu;

import java.io.Serializable;

import android.os.Parcel;

/**
 * 百度音乐API返回的Song的SUG （搜索歌曲建议）
 * @author Administrator
 *
 */
public class SongSug implements Serializable{
	private static final long serialVersionUID = 6657050331970991622L;
	private long songid;			//歌曲id 是百度API中的id，不是本地数据库中的id
	private String songname;		//歌曲名
	private String artistname;		//歌手名
	private String bitrate_fee;
	private int weight;
	private int resource_type;
	private int has_mv;				//是否有mv
	private int yyr_artist;
	private int resource_type_ext;
	private String info;			//歌曲简介
	private String resource_provider;
	private String control;
	private String encrypted_songid;//歌曲32位16进制数字id

	public SongSug() {}
	public SongSug(Parcel dest) {
		songid = dest.readLong();
		songname = dest.readString();
		artistname = dest.readString();
		bitrate_fee = dest.readString();
		weight = dest.readInt();
		resource_type = dest.readInt();
		has_mv = dest.readInt();
		yyr_artist = dest.readInt();
		resource_type_ext = dest.readInt();
		info = dest.readString();
		resource_provider = dest.readString();
		control = dest.readString();
		encrypted_songid = dest.readString();
	}
	public long getSongid() {
		return songid;
	}
	public void setSongid(long songid) {
		this.songid = songid;
	}
	public String getSongname() {
		return songname;
	}
	public void setSongname(String songname) {
		this.songname = songname;
	}
	public String getArtistname() {
		return artistname;
	}
	public void setArtistname(String artistname) {
		this.artistname = artistname;
	}
	public String getBitrate_fee() {
		return bitrate_fee;
	}
	public void setBitrate_fee(String bitrate_fee) {
		this.bitrate_fee = bitrate_fee;
	}
	public int getWeight() {
		return weight;
	}
	public void setWeight(int weight) {
		this.weight = weight;
	}
	public int getResource_type() {
		return resource_type;
	}
	public void setResource_type(int resource_type) {
		this.resource_type = resource_type;
	}
	public int getHas_mv() {
		return has_mv;
	}
	public void setHas_mv(int has_mv) {
		this.has_mv = has_mv;
	}
	public int getYyr_artist() {
		return yyr_artist;
	}
	public void setYyr_artist(int yyr_artist) {
		this.yyr_artist = yyr_artist;
	}
	public int getResource_type_ext() {
		return resource_type_ext;
	}
	public void setResource_type_ext(int resource_type_ext) {
		this.resource_type_ext = resource_type_ext;
	}
	public String getInfo() {
		return info;
	}
	public void setInfo(String info) {
		this.info = info;
	}
	public String getResource_provider() {
		return resource_provider;
	}
	public void setResource_provider(String resource_provider) {
		this.resource_provider = resource_provider;
	}
	public String getControl() {
		return control;
	}
	public void setControl(String control) {
		this.control = control;
	}
	public String getEncrypted_songid() {
		return encrypted_songid;
	}
	public void setEncrypted_songid(String encrypted_songid) {
		this.encrypted_songid = encrypted_songid;
	}
}
